package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.qo.StatementQueryObject;

import java.util.List;

public interface StatementMapper {

    void delete(Long id);

    void insert(Statement statement);

    Statement selectOne(Long id);

    List<Statement> selectAll();

    void update(Statement statement);

    List<Statement> selectForList(StatementQueryObject qo);

    void updateAmount(Statement statement);

    void pay(Statement statement);

    Statement selectByappointmentId(Long appointmentId);
}